package com.example.myys.common

import com.example.myys.data.entity.ChapterBean

//底部菜单的实体数据类,包含路由,文字和图标
data class BottomItemData(
    val route: String,
    val label: String,
    val icon: Int,
)
//顶部导航栏数据类
data class TopItem(val router:String,val label:String)

//视频播放数据类
data class VideoData(
    val id:Int,
    val movieName: String,
    val name:String,
    val url:String,
    val chapter: MutableList<DataSource>
)

//数据源定义
data class DataSource(
    var id: Int = 0,
    var name: String = "",
    var index: Int = 0,
    var episodes: List<ChapterBean> = arrayListOf()
)